﻿namespace WebPic.Sample.Comum
{
    public static class Extensoes
    {
        public static byte AsByte(this string value)
        {
            byte result;
            byte.TryParse(value, out result);
            return result;
        }
    }
}